package com.hkyp.ss.course.provider.repository.mediate;

import com.hkyp.ss.course.provider.model.mediate.CourCommVoter;
import com.hkyp.ss.course.provider.repository.baseRepository.BaseRepository;

import java.util.List;

public interface CourCommVoterRepository extends BaseRepository<CourCommVoter,Long> {


    CourCommVoter findByUserIdAndCcId(Long userId, Long ccId);
    List<CourCommVoter> findAllByCcIdInAndUserIdEquals(Iterable<Long> ccIds, Long userId);

}